package core.communication.message;

public enum Direction {
	UP, DOWN;

	public static Direction getOppositeDirection(Direction direction) {
		if (direction == Direction.UP)
			return Direction.DOWN;
		else if (direction == Direction.DOWN)
			return Direction.UP;
		return null;
	}
}
